package server.business.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName inbound_review
 * @author Galaxy
 */
@TableName(value ="inbound_review")
@Data
public class InboundReview implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 入库单据号（blood_inbound的number)
     */
    @TableField(value = "inbound_id")
    private Long inboundId;

    /**
     * 入库操作人工号（blood_inbound的operator_id）
     */
    @TableField(value = "applicant_id")
    private Long applicantId;

    /**
     * 申请入库时间
     */
    @TableField(value = "apply_time")
    private Date applyTime;

    /**
     * 复核人工号
     */
    @TableField(value = "reviewer_id")
    private String reviewerId;

    /**
     * 复核时间
     */
    @TableField(value = "review_time")
    private Date reviewTime;

    /**
     * 驳回原因
     */
    @TableField(value = "reject_reason")
    private String rejectReason;

    /**
     * 状态(入库等待审核、入库通过、入库驳回、入库驳回已处理）
     */
    @TableField(value = "state")
    private String state;

    @TableField(exist = false)
    private static final long serialVersionUID = -8324557763176316259L;
}